@import "iconfonts.css";
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
body {
  background-color: #f7f7f7;
}
input,
button,
textarea {
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  outline: none;
  transition: all .2s;
}
input:focus,
button:focus,
textarea:focus {
  border-color: #ff7f26;
}
input::placeholder,
button::placeholder,
textarea::placeholder {
  color: rgba(0, 0, 0, 0.26);
  font-size: 14px;
}
input,
textarea {
  width: 100%;
  padding: 8px;
}
button {
  cursor: pointer;
}
.container {
  max-width: 500px;
  margin: 0 auto;
}
.navbar,
.header {
  text-align: center;
}
.navbar {
  position: relative;
  background-color: #ff7f26;
  color: rgba(255, 255, 255, 0.87);
}
.navbar h1 {
  margin: 0;
  line-height: 50px;
  font-size: 22px;
  font-weight: normal;
}
.header {
  padding: 20px 0;
  font-size: 18px;
  color: rgba(0, 0, 0, 0.87);
}
.task-form .detail {
  margin-top: 8px;
}
.task-form .detail > * + * {
  margin-top: 8px;
}
.task-form button[type="submit"] {
  padding: 8px 16px;
  background-color: #ff7f26;
  color: rgba(255, 255, 255, 0.87);
  transition: all .2s;
}
.task-form button[type="submit"]:hover {
  opacity: .9;
}
.task-form button[type="submit"]:active {
  opacity: 1;
}
.task-input {
  position: relative;
}
.task-input input {
  padding-right: 80px;
}
.task-input .icon {
  position: absolute;
  top: 50%;
  margin-top: -12px;
}
.task-input .icon-add {
  right: 40px;
}
.task-input .icon-more {
  right: 8px;
}
.task-list {
  margin-top: 32px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  background-color: #fff;
}
.task-list h2 {
  margin: 0;
  padding: 0 8px;
  line-height: 40px;
  font-size: 15px;
  font-weight: normal;
  color: rgba(0, 0, 0, 0.54);
}
.task-list .item {
  position: relative;
  padding: 16px 112px 16px 40px;
  border-top: 1px solid #e6e6e6;
}
.item .toggle-complete {
  position: absolute;
  top: 50%;
  left: 8px;
  margin-top: -12px;
}
.item .toggle-complete:before {
  font-family: 'icomoon';
  content: "\e905";
  color: rgba(0, 0, 0, 0.26);
}
.item .toggle-complete:active:before {
  content: "\e904";
  color: #ff7f26;
}
.item.complete .toggle-complete:before {
  content: "\e904";
  color: #ff7f26;
}
.item.complete .toggle-complete:active:before {
  content: "\e905";
  color: rgba(0, 0, 0, 0.26);
}
.item .iconbar {
  position: absolute;
  top: 50%;
  right: 0;
  line-height: 24px;
  margin-top: -12px;
  display: none;
}
.item .iconbar .icon {
  margin-right: 8px;
  color: rgba(0, 0, 0, 0.54);
  transition: all .2s;
}
.item .iconbar .icon:hover {
  color: rgba(0, 0, 0, 0.87);
}
.item:hover {
  background-color: rgba(255, 127, 38, 0.1);
}
.item:hover .iconbar {
  display: block;
}
.item .title {
  font-size: 15px;
}
.item .detail {
  margin-top: 8px;
  color: rgba(0, 0, 0, 0.54);
  font-size: 12px;
}
.icon {
  width: 24px;
  height: 24px;
  line-height: 24px;
  font-size: 24px;
  cursor: pointer;
}
.remind-sound {
  display: none;
}
.empty {
  line-height: 48px;
  color: rgba(0, 0, 0, 0.54);
  font-size: 12px;
  text-align: center;
  border-top: 1px solid #e6e6e6;
}
